﻿<%@ Page Language="C#" 
    MasterPageFile="~/Site.Master" 
    AutoEventWireup="true" 
    CodeBehind="HitLists.aspx.cs"
    Inherits="Ras2Web.HitLists" 
    Title="Vinsældarlistar" %>

<%--    Info on HitLists for the viewer to look closer at. 
        He can view the name of the list and the begin/end date.
        Displayed in Gridview.
--%> 

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="Styles/Default.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
        <h1 class="white_background">
            Vinsældarlistar</h1>
    </div>
    <asp:GridView ID="m_gridViewHitLists" runat="server" 
        AutoGenerateColumns="false" Width="455px">
        <Columns>
            <asp:BoundField DataField="ID" HeaderText="Nr." />
            <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="~/HitListDetail.aspx?ID={0}"
                DataTextField="Name" HeaderText="Nafn" />
            <asp:BoundField DataField="DateBegins" HeaderText="Frá" />
            <asp:BoundField DataField="DateEnds" HeaderText="Til" />
        </Columns>
    </asp:GridView>
    <br />
    <a href="Default.aspx">Til baka á upphafssíðu</a>
</asp:Content>
